Now please fill in responding blanks and generate a configset:
<form name="buildform" id="buildform" method="post" action="__URL__/rebuildsubmit" enctype="multipart/form-data">
    <table>
        <caption>Build config set:</caption>
        <tr>
            <th>Name</th><th>Value</th><th>Description</th>
        </tr>

        <foreach name="configset" item="vo">
            <tr>
                <td>{$key}</td><td><input value="{$vo['value']}" name="set[{$key}][value]" type="text" /></td><td>{$vo["description"]}</td>
            </tr>
        </foreach>

        <tr>
            <td>Simulator:</td><td colspan="2"><input style="width:100%" type="text" name="cmdline" value="{$cfg['cmdline']}" /></td>
        </tr>
        <tr>
            <td>Test program:</td><td colspan="2"><input style="width:100%" type="text" name="program" value="{$cfg['program']}" /></td>
        </tr>
        <tr>
            <td>Input file:</td><td colspan="2"><input style="width:100%" type="text" name="inputfile" value="{$cfg['inputfile']}"/></td>
        </tr>
        <tr>
            <td>Attachment:</td><td colspan="2"><a href="Attachment/{$cfg['attachment']}">{$cfg['attachment']}</a><input type="file" name="attachment" /></td>
        </tr>
        <tr>
            <td>Testplan Name:</td><td colspan="2"><input style="width:100%" type="text" name="configname" value="{$cfg['name']}"/></td>
        </tr>
    </table>
    <input type="hidden" name="module_id" value="{$mod['id']}" />
    <input type="hidden" name="id" value="{$cfg['id']}" />
    <button type="submit">Submit</button>
</form>